import request from '../utils/request'
let index = {
    namespace: 'index',
    state: {
        
    },
    effects:{
        *login({effects},{call,put}){
            let res = yield call(request('apis/login.json'));
            console.log(res);
        }
    },
    reducers:{
        
    }
}
export default index;